#pragma once
#include "StreamBaseType.h"

enum emMediaType
{
	emVideo,
	emAudio,
	emSubtitle,
	emOther
};

enum emSubMediaType
{
	emDecodedYuv420 = 0,	
	emUnDecodedVideoStream,
	emUnDecodedAudioStream,
	emDecodedPCM 
};

struct MediaData
{
	sint64         pts;
	sint64         dts;
	emMediaType    type;
	emSubMediaType sub_type;
	uint8*         data;
	uint32         data_len;
	sint64         duration;
};